get_last_evm_block

query get_last_evm_block(network_id: integer): (evm_block_height: integer, evm_block_hash: byte_array)?

Retrieves the most recent EVM block for a specified network.

Return

The most recent EVM block's block height and block hash for the specified network.

Parameters

network_id
  • The ID of the Ethereum network (e.g., mainnet, testnet) from which to retrieve the latest block.